﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace FindArtInfo.Models
{
    public class MenuLeftModel
    {
        //[Display(Name = "MenuLeftLoginEmail", ResourceType = typeof(Resources.Multi))]
        [Required(ErrorMessage = "*")]
        [DataType(DataType.EmailAddress)]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "*")]
        public string MenuLeftLoginEmail { get; set; }
        
        [DataType(DataType.Password)]
        //[Display(Name = "MenuLeftLoginPassWord", ResourceType = typeof(Resources.Multi))]
        [Required(ErrorMessage = "*")]
        public string MenuLeftLoginPassWord { get; set; }

        public string ReturnUrl { get; set; }

        //[Display(Name = "MenuLeftLinkRegister", ResourceType = typeof(Resources.Multi))]
        public string MenuLeftLinkRegister { get; set; }

        //[Display(Name = "MenuLeftLinkForgotPassword", ResourceType = typeof(Resources.Multi))]
        public string MenuLeftLinkForgotPassword { get; set; }
    }
}